import QtQuick
import QtQuick.Controls
import Gui.Global as G

Item {
    id: root
    readonly property int viewId: G.Enums.ViewId.Setting
    ComboBox {
        anchors.centerIn: parent
        model: Object.keys(G.ThemeManager.themes)
        onCurrentTextChanged: {
            G.ThemeManager.currentTheme = currentText;
        }
    }
    Component.onCompleted: {
        console.log(G.ThemeManager.themes);
    }
}
